package org.example.rubbish.service;



import org.example.rubbish.entity.User;

import java.util.List;

public interface UserService {
    User createUser(User user);
    User updateUser(User user);
    void changePassword(Long userId, String newPassword);
    User getUserById(Long id);
    User getUserByUsername(String username);
    List<User> getAllUsers();
    List<User> getUsersByBlacklist(Boolean isBlacklist);
    void addToBlacklist(Long userId);
    void removeFromBlacklist(Long userId);

}
